<div class="modal fade" id="update-shop-price-dialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog" style="width: 900px;">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title" id="myModalLabel">
					修改商品价格
				</h4>
			</div>
			<div class="modal-body">
				 <form class="bs-example bs-example-form form-horizontal" role="form">
					<div class="form-group">
                         <div class="col-sm-12">
                         	<table class="shop-price-table" border="1" bordercolor="#E5E6E7">
                         		<tr>
                         			<td style="width: 10%;">商品单位</td>
                         			<td style="width: 13%;">规格</td>
                         			<td style="width: 13%;">市场价/元</td>
                         			<td style="width: 13%;">成本价/元</td>
                         			<td style="width: 13%;">本店价/元</td>
                         			<td style="width: 13%;">转换数量/斤</td>
                         			<td style="width: 40%;">会员等级</td>
                         		</tr>
                         		<#list shopPrices as shopPrice>
                         		<tr>
                         			<td rowspan="4">
                         				<input type="hidden" id="spId" value="${shopPrice.spId!}" />
	                         			<input type="text" class="form-control" id="spUnit" placeholder="单位" maxlength="50" value="${shopPrice.spUnit!}" />
	                         			<span id="spUnitSpan" class="tip-red"></span>
                         			</td>
	                         		<td rowspan="4">
	                         			<input type="text" class="form-control" id="spSpecification" placeholder="规格" maxlength="100" value="${shopPrice.spSpecification!}" />
	                         			<span id="spSpecificationSpan" class="tip-red"></span>
	                         		</td>
	                         		<td rowspan="4">
	                         			<input type="text" class="form-control" id="spMarketPrice" placeholder="市场价" maxlength="5" value="${shopPrice.spMarketPrice!}" />
	                         			<span id="spMarketPriceSpan" class="tip-red"></span>
	                         		</td>
	                         		<td rowspan="4">
	                         			<input type="text" class="form-control" id="spCostPrice" placeholder="成本价" maxlength="5" value="${shopPrice.spCostPrice!}"/>
	                         			<span id="spCostPriceSpan" class="tip-red"></span>
	                         		</td>
	                         		<td rowspan="4">
	                         			<input type="text" class="form-control" id="spPrice" placeholder="单价" maxlength="5" value="${shopPrice.spPrice!}"/>
	                         			<span id="spPriceSpan" class="tip-red"></span>
	                         		</td>
	                         		<td rowspan="4">
	                         			<input type="text" class="form-control" id="spUnitNum" placeholder="数量转换" maxlength="10" value="${shopPrice.spUnitNum!}"/>
	                         			<span id="spUnitNumSpan" class="tip-red"></span>
	                         		</td>
	                         		<td>
	                         			<div class="shop-member-title">钻石</div>
	                         			<div class="shop-member-price">
	                         				<input type="text" class="form-control" id="spLevelDiamondPrice" placeholder="钻石价" maxlength="5" value="${shopPrice.spLevelDiamondPrice!}" />
	                         				<span id="spLevelDiamondPriceSpan" class="tip-red"></span>
	                         			</div>
	                         		</td>
	                         	</tr>	
	                         	<tr>
	                         		<td>
	                         			<div class="shop-member-title">金牌</div>
	                         			<div class="shop-member-price">
	                         				<input type="text" class="form-control" id="spLevelGoldPrice" placeholder="金牌价" maxlength="5" value="${shopPrice.spLevelGoldPrice!}" />
	                         				<span id="spLevelGoldPriceSpan" class="tip-red"></span>
	                         			</div>
	                         		</td>
	                         	</tr>
	                         	<tr>
	                         		<td>
	                         			<div class="shop-member-title">银牌</div>
	                         			<div class="shop-member-price">
	                         				<input type="text" class="form-control" id="spLevelSilverPrice" placeholder="银牌价" maxlength="5" value="${shopPrice.spLevelSilverPrice!}"/>
	                         				<span id="spLevelSilverPriceSpan" class="tip-red"></span>
	                         			</div>
	                         		</td>
	                         	</tr>
	                         	<tr>
	                         		<td>
	                         			<div class="shop-member-title">铜牌</div>
	                         			<div class="shop-member-price">
	                         				<input type="text" class="form-control" id="spLevelCopperPrice" placeholder="铜牌价" maxlength="5" value="${shopPrice.spLevelCopperPrice!}" />
	                         				<span id="spLevelCopperPriceSpan" class="tip-red"></span>
	                         			</div>
	                         		</td>
	                         	</tr>
	                         	</#list>
                         	</table>	
                         </div>
                     </div>
			    </form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-primary" id="save-button" onclick="ShopPrice.updateShopPrice()">
					保存
				</button>
				<button type="button" class="btn btn-default" data-dismiss="modal">
					关闭
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>
